/**
 * Created by huachuan on 2015/12/24.
 *
 */
angular.module("starter.config", [])
  //配置环境
  .config(function($ionicConfigProvider) {
    $ionicConfigProvider.platform.ios.tabs.style('standard');
    $ionicConfigProvider.platform.ios.tabs.position('bottom');
    $ionicConfigProvider.platform.android.tabs.style('standard');
    $ionicConfigProvider.platform.android.tabs.position('bottom');

    $ionicConfigProvider.platform.ios.navBar.alignTitle('center');
    $ionicConfigProvider.platform.android.navBar.alignTitle('center');

   //配置转场效果
    $ionicConfigProvider.platform.ios.views.transition('ios');
    $ionicConfigProvider.platform.android.views.transition('android');
    //禁用js滚动
    $ionicConfigProvider.scrolling.jsScrolling(true);
  })
//配置访问服务端的路径
.constant("ENV", {
  "debug": true,
   /*  "api":"http://106.75.141.224/wine/app/",
    "picPath":"http://106.75.141.224/wine/upload/img/",
    "audioPath":"http://106.75.141.224/wine/upload/audio/",
    "videoPath":"http://106.75.141.224/wine/upload/video/",
    "updatePath":"http://106.75.141.224/wine/update/version.json"*/

  /*  "api":"http://14.23.155.114:789/wine/app/",
    "picPath":"http://14.23.155.114:789/wine/upload/img/",
    "audioPath":"http://14.23.155.114:789/wine/upload/audio/",
    "videoPath":"http://14.23.155.114:789/wine/upload/video/",
    "updatePath":"http://14.23.155.114:789/wine/update/version.json"*/


   "api":"http://app.aussino.net:789/wine/app/",
    "picPath":"http://app.aussino.net:789/wine/upload/img/",
    "audioPath":"http://app.aussino.net:789/wine/upload/audio/",
    "videoPath":"http://app.aussino.net:789/wine/upload/video/",
    "updatePath":"http://app.aussino.net:789/wine/update/version2.json"



 /* "api":"http://192.168.1.104:8080/wine/app/",
    "picPath":"http://192.168.1.104:8080/wine/upload/img/",
    "audioPath":"http://192.168.1.104:8080/wine/upload/audio/",
    "videoPath":"http://192.168.1.104:8080/wine/upload/video/",
    "updatePath":"http://192.168.1.104:8080/wine/update/version.json"*/


    ,"weixinAppId":"wx59300580076a9dca"
    ,"weixinAppSecret":"7a671aa91a2d167223be754375a68723"

});
